"""
@Project:xiaomishop
@File:urls.py
@Author:马可
@Date:下午 03:41
"""

from django.urls import path
from carts import views
urlpatterns = [
    path('addcarts/',views.AddCart.as_view()), # 购物车
    path('cartsInfo/',views.CartInfo.as_view()), # 展示购物车
    path("user/updateShoppingCart/", views.UpdateCartNum.as_view()), # 更新购物车商品数量
    path("updateStatus/", views.UpdateCarStatus.as_view()),     # 更新购车中勾选状态
    path('updateAllStatus/', views.UpdateAllStatus.as_view()),  # 全选状态修改
    path('deleteAllStatus/', views.DeleteCart.as_view()),   # 删除购物车
]